package com.yuecai.modules.yc_user.service.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class PhoneCode {

    @NotBlank(message = "手机号不能为空")
    private String phone;

    @NotNull(message = "类型必须传")
    private Integer type;

    @NotBlank(message = "验证码不能为空")
    private String code;

    private String referralCode;


}
